package com.cjg.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cjg.common.utils.PageUtils;
import com.cjg.gulimall.product.entity.AttrEntity;
import com.cjg.gulimall.product.vo.attrResVo;
import com.cjg.gulimall.product.vo.attrVo;

import java.util.Map;

/**
 * 商品属性
 *
 * @author cjg
 * @email cjg@gmail.com
 * @date 2021-03-26 13:11:04
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void save(attrVo attr);

    PageUtils querybasePage(Map<String, Object> params, Long catelogId);

    attrResVo getInfoById(Long attrId);

    void updateAttrById(attrVo attr);
}

